package com.nit.lab.dto;

import com.nit.lab.model.BaseOrderEntity;
import com.nit.lab.model.BaseOrderFileEntity;

public class DtoOrder {
    private Integer orderId;
    private Integer userId;
    private String orderFiles;
    private String orderTime;
    private Double orderPay;
    private Integer fileCount;
    private Integer getIntegral;
    private String getTime;
    private Integer orderStatus;
    private String orderRemark;
    private Integer storeId;
    private Integer orderEvaluate;
    private String orderNub;

    public DtoOrder() {
    }


    public DtoOrder(Integer orderId, Integer userId, String orderFiles, String orderTime, Double orderPay, Integer fileCount, Integer getIntegral, String getTime, Integer orderStatus, String orderRemark, Integer storeId, Integer orderEvaluate) {
        this.orderId = orderId;
        this.userId = userId;
        this.orderFiles = orderFiles;
        this.orderTime = orderTime;
        this.orderPay = orderPay;
        this.fileCount = fileCount;
        this.getIntegral = getIntegral;
        this.getTime = getTime;
        this.orderStatus = orderStatus;
        this.orderRemark = orderRemark;
        this.storeId = storeId;
        this.orderEvaluate = orderEvaluate;
    }

    public DtoOrder(Integer orderId, Integer userId, String orderFiles, String orderTime, Double orderPay, Integer fileCount, Integer getIntegral, String getTime, Integer orderStatus, String orderRemark, Integer storeId, Integer orderEvaluate, String orderNub) {
        this.orderId = orderId;
        this.userId = userId;
        this.orderFiles = orderFiles;
        this.orderTime = orderTime;
        this.orderPay = orderPay;
        this.fileCount = fileCount;
        this.getIntegral = getIntegral;
        this.getTime = getTime;
        this.orderStatus = orderStatus;
        this.orderRemark = orderRemark;
        this.storeId = storeId;
        this.orderEvaluate = orderEvaluate;
        this.orderNub = orderNub;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getOrderFiles() {
        return orderFiles;
    }

    public void setOrderFiles(String orderFiles) {
        this.orderFiles = orderFiles;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public Double getOrderPay() {
        return orderPay;
    }

    public void setOrderPay(Double orderPay) {
        this.orderPay = orderPay;
    }

    public Integer getFileCount() {
        return fileCount;
    }

    public void setFileCount(Integer fileCount) {
        this.fileCount = fileCount;
    }

    public Integer getgetIntegral() {
        return getIntegral;
    }

    public void setgetIntegral(Integer getIntegral) {
        this.getIntegral = getIntegral;
    }

    public String getGetTime() {
        return getTime;
    }

    public void setGetTime(String getTime) {
        this.getTime = getTime;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderRemark() {
        return orderRemark;
    }

    public void setOrderRemark(String orderRemark) {
        this.orderRemark = orderRemark;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getOrderEvaluate() {
        return orderEvaluate;
    }

    public void setOrderEvaluate(Integer orderEvaluate) {
        this.orderEvaluate = orderEvaluate;
    }

    public String getOrderNub() {
        return orderNub;
    }

    public void setOrderNub(String orderNub) {
        this.orderNub = orderNub;
    }

    public BaseOrderEntity ToBean() {
        BaseOrderEntity baseOrderEntity = new BaseOrderEntity();
        baseOrderEntity.setOrderId(orderId);
        baseOrderEntity.setUserId(userId);
        baseOrderEntity.setOrderFiles(orderFiles);
        baseOrderEntity.setOrderTime(orderTime);
        baseOrderEntity.setOrderPay(orderPay);
        baseOrderEntity.setFileCount(fileCount);
        baseOrderEntity.setGetIntegral(getIntegral);
        baseOrderEntity.setGetTime(getTime);
        baseOrderEntity.setOrderStatus(orderStatus);
        baseOrderEntity.setOrderStatus(orderStatus);
        baseOrderEntity.setStoreId(storeId);
        baseOrderEntity.setOrderEvaluate(orderEvaluate);
        baseOrderEntity.setOrderNub(orderNub);
        return baseOrderEntity;
    }
}
